-
Home
-
WooPayments: Integrated WooCommerce Payments
-
9.3.0 (latest)
-
Code
-
Classes
- Database_Cache
Total Complexity |
56 |
Dependencies |
1 |
Dependents |
15 |
Total lines |
411 |
Lines of code |
153 |
Logical lines of code |
97 |
Comment lines |
192 |
Methods |
13 |
Properties |
2 |
Methods 13
Method |
Rating |
Maintainability
|
Complexity
|
Lines of code
|
should_refresh_cache() |
A |
50 |
15 |
29 |
get_ttl() |
A |
46 |
14 |
38 |
get_or_add() |
A |
53 |
8 |
23 |
get() |
S |
63 |
5 |
10 |
delete_by_prefix() |
S |
62 |
3 |
10 |
write_to_cache() |
S |
62 |
2 |
11 |
delete() |
S |
71 |
2 |
6 |
get_from_cache() |
S |
67 |
2 |
8 |
__construct() |
S |
81 |
1 |
3 |
init_hooks() |
S |
79 |
1 |
3 |
add() |
S |
79 |
1 |
3 |
disable_refresh() |
S |
81 |
1 |
3 |
is_expired() |
S |
69 |
1 |
6 |